CREATE EXTERNAL TABLE IF NOT EXISTS jms_ods.tab_customer_monitor_deploy(
project_custom_id                                 String                        COMMENT '项目客户id',
project_custom_name                               String                        COMMENT '项目客户名称',
mill_id                                           String                        COMMENT '客户标识内容',
agent_num                                         String                        COMMENT '代理区数',
franchisee_num                                    String                        COMMENT '加盟商数',
network_num                                       String                        COMMENT '网点数',
mill_type                                         String                        COMMENT '客户标识',
update_time                                       String                        COMMENT '更新时间',
update_by                                         String                        COMMENT '操作人'
)
COMMENT '项目客户配置'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET
LOCATION '/dw/hive/jms_ods.db/external/tab_customer_monitor_deploy'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);